﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace WebApi.Models
{
    [Table("Customers")]
    public class Customers : EntityTypeConfiguration<Customers>   /*用户信息*/
    {
        [Key]
        public int ID { set; get; }      /*1、排序*/

        public string C_Id { set; get; }    /*2、Open id*/
        public string C_Name { set; get; }   /*3、名称*/
        public string C_Photo { set; get; }    /*4、头像*/
        public string C_Area { set; get; }      /*5、区域*/
        public int C_Rank { set; get; }    /*6、等级*/
        public string C_Phone { set; get; }     /*7、电话*/
        public string C_AddressList { set; get; }    /*8、地址*/
        public int C_Select { set; get; }    /*9、默认地址索引*/
        public string C_Parent { set; get; }    /*10、注册邀请人*/
        public decimal? C_Consumption { set; get; }    /*11、本人消费额*/
        public decimal? C_Commission { set; get; }   /*12、佣金总额*/
        public int C_State { set; get; }     /*13、状态*/
    }
}